package org.example.service.impl;

import org.example.domain.SysMenu;
import org.example.mapper.SysMenuMapper;
import org.example.service.SysMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysMenuServiceImpl implements SysMenuService {
    @Autowired
    SysMenuMapper sysMenuMapper;
    @Override
    public List<SysMenu> list() {
        return sysMenuMapper.list();
    }
}
